FilterEverything\Filter\EntityManager D

Total Complexity 230
Dependencies 11
Dependents 3
Total lines 1,282
Lines of code 862
Logical lines of code 579
Comment lines 98
Methods 46
Properties 1

Methods 46

Method Rating Maintainability Complexity Lines of code
prepareEntitiesToDisplay()
C
34 27 81
collectFilteredPostsIds()
A
39 15 58
getAllSetWpQueriedPostIds()
A
41 15 52
createEntity()
A
41 14 58
sortTerms()
A
50 10 32
getFiltersRelatedWithPostType()
A
44 8 43
getSetsRelatedFilters()
S
52 7 24
calcTermCount()
S
53 6 22
getCommonFilterValues()
S
54 6 21
getFilterByEname()
S
54 6 21
getAuthorTermsForDropdown()
S
54 5 22
getAlreadyFilteredPostIds()
S
56 5 18
selectOnlySetFilters()
S
58 5 16
safeExplodeFilterValues()
S
57 5 16
getConfiguredQuerySlugs()
S
58 5 16
getAllFiltersBySlug()
S
58 5 16
getSetFilterKeys()
S
58 5 15
prepareFilterCommon()
S
56 4 17
getPossibleTaxonomies()
S
57 4 17
compareDesc()
S
63 5 10
compareAsc()
S
63 5 10
getBetweenFiltersIntersect()
S
59 4 15
extractBelongsFilters()
S
60 4 13
getFilterById()
S
62 4 13
getConfiguredPathSlugs()
S
62 4 12
getParamFromFilters()
S
62 4 12
makeFiltersQuery()
S
53 3 21
getTaxonomyTermsForDropdown()
S
61 3 13
getAllConfiguredFilters()
S
60 3 13
getFlatEntities()
S
62 3 12
getEntityAllTermsSlugs()
S
63 3 11
getTaxonomies()
S
62 3 11
prepareFilter()
S
55 2 19
getOnlyBelongsFilters()
S
64 3 10
checkForbiddenFilters()
S
64 3 10
hasPostTypeFilters()
S
58 2 15
getFilterBySlug()
S
65 3 10
getEntityByFilter()
S
63 3 10
getPossibleEntities()
S
52 1 26
safeImplodeFilterValues()
S
65 2 9
getEntityTermsBySlug()
S
73 1 5
__construct()
S
80 1 3
getGlobalConfiguredSlugs()
S
75 1 4
storeData()
S
80 1 3
getData()
S
80 1 3
addTermsToWpQuery()
S
75 1 4